package com.ideaaedi.zoo.example.springboot.flowable.sharding.controller.helper.entity.resp;

import com.ideaaedi.zoo.example.springboot.flowable.sharding.controller.helper.entity.enums.LeaveApprovalState;
import com.ideaaedi.zoo.example.springboot.flowable.sharding.controller.helper.entity.enums.LeaveType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 请假申请表 detail resp
 * </p>
 *
 * @author Administrator
 * @since 1.0.0
 */
@Data
public class DemoLeaveInfoDetailRespVO {

    /**
     * id
     */
    @Schema(description = "id")
    private Long id;

    /**
     * 概要
     */
    @Schema(description = "概要")
    private String summary;

    /**
     * 请假类型
     */
    @Schema(description = "请假类型")
    private LeaveType type;

    /**
     * 请假开始时间
     */
    @Schema(description = "请假开始时间")
    private LocalDateTime leaveFrom;

    /**
     * 请假结束时间
     */
    @Schema(description = "请假结束时间")
    private LocalDateTime leaveTo;

    /**
     * 审批状态
     */
    @Schema(description = "审批状态")
    private LeaveApprovalState approvalState;
    
    /**
     * 流程进度详情-不含未知节点
     */
    @Schema(description = "流程进度详情（不含未知节点）")
    private List<Object> processDetailList;
    
    /**
     * 流程进度详情-含未知节点
     */
    @Schema(description = "流程进度详情（含未知节点）")
    private List<Object> processDetailListContainTodoNode;

}